Skip to content

Merge jammy to noble#590

Merged
selzoc merged 16 commits into
ubuntu-noblefrom
merge-jammy-to-noble
May 1, 2026
Merged

Merge jammy to noble#590
selzoc merged 16 commits into
ubuntu-noblefrom
merge-jammy-to-noble

Conversation

@selzoc

@selzoc selzoc commented May 1, 2026

Copy link
Copy Markdown
Member

Note: the pipeline has not yet been flown

bosh-admin-bot and others added 16 commits April 25, 2026 10:37
We've observed many issues over the years with ubuntu's apt servers,
including lots of temporary 503's.
This commit will
1) Use an in-gcp mirror for debootstrap, which should be fast (it
   doesn't run on ubuntu's infrastructure at all)
2) Add retries for all apt-get invocations during the build of both the
   os-image, and the iaas-specific builds - details below

Acquire::Retries=10 If a download fails (including transient HTTP errors
like 503), apt retries that fetch up to 10 times before giving up on
that URL. Without this, one bad response often aborts the whole apt-get
run.

Acquire::Retries::Delay=true Between retries, apt waits with increasing
delay (backoff) instead of hammering the server immediately. On Jammy
this is the “delay between retries” behavior (apt ≥ 2.0). Cumulatively
with Retries=10, you get many attempts spread over time, which helps
when snapshot.ubuntu.com is briefly overloaded rather than hard-down.

Acquire::http::Timeout=120 and Acquire::https::Timeout=120 Each
individual HTTP/HTTPS connection apt opens to a mirror can block for at
most 120 seconds before apt treats it as stuck and fails that attempt
(which can then trigger a retry if retries remain).

ai-assisted=yes
[TNZ-88995]
Add apt retries, optional mirror for debootstrap
Turns out, the internal GCE mirror is designed only for actual vms
running in GCP, and either didn't play well with the Concourse
container's egress or doesn't server jammy.

Fixes

debootstrap --arch=amd64 jammy /mnt/stemcells/null/null/ubuntu/work/work/chroot http://gce.archive.ubuntu.com/ubuntu
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file http://gce.archive.ubuntu.com/ubuntu/dists/jammy/Release
…irror

Use kernel.org mirror for debootstrap
@coderabbitai

coderabbitai Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: e98ce42b-2802-4201-a9f0-f166a69e8e52

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch merge-jammy-to-noble

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group May 1, 2026
@selzoc selzoc merged commit 5572c9e into ubuntu-noble May 1, 2026
10 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group May 1, 2026
@selzoc selzoc deleted the merge-jammy-to-noble branch May 1, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants